package com.news.sentiment.enums;

import lombok.Getter;

@Getter
public enum ResultEnum {
    REQUEST_SUCCESS(1000,"success"),
    USER_IS_EXIST(1001,"用户名已存在"),
    AUTHENTICSTION_ERROR(1002,"登录权限验证错误"),
    USERNAME_OR_PWD_ERROR(2001,"用户名或密码错误");

    private Integer code;
    private String msg;
    ResultEnum(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

}
